#include "Encoder.h"

int16_t Encoder_GetNum(void)
{
	short num = (short)__HAL_TIM_GET_COUNTER(&htim3);
	__HAL_TIM_SetCounter(&htim3,0);
	return num;
}

